package com.bd.scm.domain.dto.vacation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yufc
 */
@ApiModel(value="时间银行查询条件")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class HolidaysTimeSearchDto implements Serializable {

    private static final long serialVersionUID = 1L;

//    /**
//    * 员工ID
//    */
//    @ApiModelProperty(value="员工ID")
//    private Long userSerial;

    @ApiModelProperty(value="员工ID，多个员工用逗号隔开，如：20002020,20002021", position = 0)
    private String userSerialIds;

//    /**
//    * 部门ID
//    */
//    @ApiModelProperty(value="部门ID")
//    private Long userDept;

    @ApiModelProperty(value="部门ID，多个部门用逗号隔开，如：20003020,20203021", position = 1)
    private String userDeptIds;

    @ApiModelProperty(value="工号或姓名", position = 2)
    private String userNoOrName;

    /**
    * 年份
    */
    @ApiModelProperty(value="年份", position = 3, example = "2020", required = true)
    private Integer timeYear;

    /**
    * 月份
    */
    @ApiModelProperty(value="月份", position = 4, example = "6", required = true)
    private Integer timeMonth;

    @ApiModelProperty(value="页码", position = 5, example = "1")
    private Integer pageNumber;

    @ApiModelProperty(value="每页记录数", position = 6, example = "20")
    private Integer pageSize;


}